﻿using System;
using System.Data;
using OneMG.Phoenix.Entity;
using System.Collections.Generic;

namespace OneMG.Phoenix.Respository
{
    public interface ICategory
    {

        System.Int32 AddCategory(ECategory category);

        void UpdateByCategoryID(ECategory category);

		void DeleteByCategoryID(System.Int32 categoryID);
		 
        ECategory GetByCategoryID(System.Int32  categoryID);

        IList<ECategory> GetByParentID(System.Int32 parentID);
    }
}